﻿
module Sustainalytics.Company {

    export enum PIResearchState {
        NotResearched = 0,
        ResearchedWithNoData = 1,
        ResearchedWithData = 2
    }

    export class CorporateDataExtendedDto extends CorporateDataBasicDto {

        public isEnabled: boolean;

        public ticker: string;
        public exchangeCode: string;
        public tickerAndExchange: string;
        public country: string;

        //for Company overview
        public rootPeerGroup: string;
        public address: string;
        public totalEmployees: number;
        public phoneNumber1: string;
        public phoneNumber2: string;
        public website: string;
        public businessDescription: string;

        //TODO: add value to fields
        //public hasESGRating: boolean;
        //public hasGovernance: boolean;
        //public hasGlobalCompact: boolean;
        //public hasProductInvolvement: boolean;
        //public hasControversies: boolean;

        public hasEsgResearch: boolean;
        public hasControversyResearch: boolean;
        public hasGccsResearch: boolean;
        public piResearchState: PIResearchState;
        public hasGovernanceResearch: boolean;

    }
}